
/**
 * @ClassName view
 * @Description TODO
 * @Author ypf
 * @Date 2020-04-03 00:41:35
 * @Compony 暂无
 * @Version 1.0
 */
import 'package:flutter/services.dart';
import 'package:demo_flutter/library.dart';

import 'state.dart';

Widget buildView(SliverTestState state, Dispatch dispatch, ViewService viewService) {
  return Scaffold(
    body:AnnotatedRegion<SystemUiOverlayStyle>(
      value: SystemUiOverlayStyle.dark,
      child: CustomScrollView(
        slivers: <Widget>[
//          SliverAppBar(
//            actions: <Widget>[],
//          ),
          SliverToBoxAdapter(
            child: Text('文本'),
          )
        ],
      ),
    ),
  );
}
